#ifndef DEVICESTATUSINFO_H
#define DEVICESTATUSINFO_H

#include "baseresp.h"
#include <QMetaType>

class DeviceStatusInfo : public BaseResp
{
public:

    enum DeviceStatus
    {
        DEVICE_INIT=0,
        DEVICE_IDLE,
        DEVICE_ONLY_RECORD,
        DEVICE_BUSY,
        DEVICE_STATUS_MAX
    };

    DeviceStatusInfo();

    void unserialize(QString json);

    int getDeviceStatus() const;

private:
    int device_status;
};
Q_DECLARE_METATYPE(DeviceStatusInfo)

#endif // DEVICESTATUSINFO_H
